package com.xtianzhuang.www.utils;

import javax.servlet.http.HttpServletRequest;

public class HttpRequestHolder {
	private static ThreadLocal<HttpServletRequest> reqLocal = new ThreadLocal<HttpServletRequest>();


	public static void setRequest(HttpServletRequest req) {
		reqLocal.set(req);
	}

	public static HttpServletRequest getRequest() {
		return reqLocal.get();
	}
}

